﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>输入的英文自动全大写</title>
</head>
<body>
输入英文小写字母,测试发生的变化<br />
<input  onkeydown="this.value=this.value.toUpperCase()">
</body>
</html>